print("偶数有")
num1 = int(input("请输入一个数字"))
num = 0
for i in range(1, num1):
    if i % 2 == 0:
        num = num + 1
print(f"数字{num1}一共有{num}个偶数")
